<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader: fsl_i2c.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Common bootloader for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('fsl__i2c_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">fsl_i2c.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2015, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without modification,</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * are permitted provided that the following conditions are met:</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * o Redistributions of source code must retain the above copyright notice, this list</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *   of conditions and the following disclaimer.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * o Redistributions in binary form must reproduce the above copyright notice, this</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *   list of conditions and the following disclaimer in the documentation and/or</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> *   other materials provided with the distribution.</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * o Neither the name of Freescale Semiconductor, Inc. nor the names of its</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> *   contributors may be used to endorse or promote products derived from this</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *   software without specific prior written permission.</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment"> * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#ifndef _FSL_I2C_H_</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#define _FSL_I2C_H_</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;fsl_common.h&quot;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment"> * Definitions</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#define FSL_I2C_DRIVER_VERSION (MAKE_VERSION(2, 0, 0)) </span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#if (defined(FSL_FEATURE_I2C_HAS_START_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_START_STOP_DETECT || \</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">     defined(FSL_FEATURE_I2C_HAS_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_STOP_DETECT)</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#define I2C_HAS_STOP_DETECT</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* FSL_FEATURE_I2C_HAS_START_STOP_DETECT / FSL_FEATURE_I2C_HAS_STOP_DETECT */</span><span class="preprocessor"></span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="group__i2c.html#ga7cc91c89125c25a88e463a9e8550b284">   53</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__i2c.html#ga7cc91c89125c25a88e463a9e8550b284">_i2c_status</a></div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;{</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a49091894b590d7e479605bf113918952">   55</a></span>&#160;    <a class="code" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a49091894b590d7e479605bf113918952">kStatus_I2C_Busy</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a5c67a60e98e49151455f565c2834d228">kStatusGroup_I2C</a>, 0),            </div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a628d242f7bc0e3d5949c7f73eafaa508">   56</a></span>&#160;    <a class="code" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a628d242f7bc0e3d5949c7f73eafaa508">kStatus_I2C_Idle</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a5c67a60e98e49151455f565c2834d228">kStatusGroup_I2C</a>, 1),            </div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a72fd33d0b5263a63766e62f71d16be00">   57</a></span>&#160;    <a class="code" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a72fd33d0b5263a63766e62f71d16be00">kStatus_I2C_Nak</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a5c67a60e98e49151455f565c2834d228">kStatusGroup_I2C</a>, 2),             </div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a139b52cc3305ec2c06d0ac94313c221f">   58</a></span>&#160;    <a class="code" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a139b52cc3305ec2c06d0ac94313c221f">kStatus_I2C_ArbitrationLost</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a5c67a60e98e49151455f565c2834d228">kStatusGroup_I2C</a>, 3), </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a81ad7cc198436cabbe91ea55c5288747">   59</a></span>&#160;    <a class="code" href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a81ad7cc198436cabbe91ea55c5288747">kStatus_I2C_Timeout</a> = MAKE_STATUS(<a class="code" href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a5c67a60e98e49151455f565c2834d228">kStatusGroup_I2C</a>, 4),         </div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;};</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="group__i2c.html#ga1f1337bbe9d0b184d9dcee31f9ebade2">   74</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__i2c.html#ga1f1337bbe9d0b184d9dcee31f9ebade2">_i2c_flags</a></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;{</div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a4c3c2928e17ddbfbc1c346c6b9a8dccd">   76</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a4c3c2928e17ddbfbc1c346c6b9a8dccd">kI2C_ReceiveNakFlag</a> = I2C_S_RXAK_MASK,       </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a647d0b1d1f9514ad483bef3ea3926c3b">   77</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a647d0b1d1f9514ad483bef3ea3926c3b">kI2C_IntPendingFlag</a> = I2C_S_IICIF_MASK,      </div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a249f698970909f33b1b96139c05bd969">   78</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a249f698970909f33b1b96139c05bd969">kI2C_TransferDirectionFlag</a> = I2C_S_SRW_MASK, </div><div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2aac2c3a26d38c01fba1554eddc0c6b8b5">   79</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2aac2c3a26d38c01fba1554eddc0c6b8b5">kI2C_RangeAddressMatchFlag</a> = I2C_S_RAM_MASK, </div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a39fab5ef04e74d00ef4c4574899ab589">   80</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a39fab5ef04e74d00ef4c4574899ab589">kI2C_ArbitrationLostFlag</a> = I2C_S_ARBL_MASK,  </div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a37fb20742a15a63c1bc2551b997cdcff">   81</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a37fb20742a15a63c1bc2551b997cdcff">kI2C_BusBusyFlag</a> = I2C_S_BUSY_MASK,          </div><div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a10cd5797b1b8f809192423486a85d5fe">   82</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a10cd5797b1b8f809192423486a85d5fe">kI2C_AddressMatchFlag</a> = I2C_S_IAAS_MASK,     </div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2adb8f10365dfc2a3e849f05173fa4d83e">   83</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2adb8f10365dfc2a3e849f05173fa4d83e">kI2C_TransferCompleteFlag</a> = I2C_S_TCF_MASK,  </div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">#ifdef I2C_HAS_STOP_DETECT</span></div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a942f41cfdfcd976ab26e77ce95c386ae">   85</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a942f41cfdfcd976ab26e77ce95c386ae">kI2C_StopDetectFlag</a> = I2C_FLT_STOPF_MASK &lt;&lt; 8, </div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* FSL_FEATURE_I2C_HAS_START_STOP_DETECT / FSL_FEATURE_I2C_HAS_STOP_DETECT */</span><span class="preprocessor"></span></div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_START_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_START_STOP_DETECT</span></div><div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a07e611eaff148acca64fae7f1f0e1577">   89</a></span>&#160;    <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a07e611eaff148acca64fae7f1f0e1577">kI2C_StartDetectFlag</a> = I2C_FLT_STARTF_MASK &lt;&lt; 8, </div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="preprocessor">#endif                                               </span><span class="comment">/* FSL_FEATURE_I2C_HAS_START_STOP_DETECT */</span><span class="preprocessor"></span></div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;};</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="group__i2c.html#ga87c81dd985dad07dc26cb93125a94ec7">   94</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__i2c.html#ga87c81dd985dad07dc26cb93125a94ec7">_i2c_interrupt_enable</a></div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;{</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a5526e27ef6e8317ba928849da890b3b2">   96</a></span>&#160;    <a class="code" href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a5526e27ef6e8317ba928849da890b3b2">kI2C_GlobalInterruptEnable</a> = I2C_C1_IICIE_MASK, </div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_STOP_DETECT</span></div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a3d36e9fb0895af1f915abdd66dd7e77c">   99</a></span>&#160;    <a class="code" href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a3d36e9fb0895af1f915abdd66dd7e77c">kI2C_StopDetectInterruptEnable</a> = I2C_FLT_STOPIE_MASK, </div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#endif                                                    </span><span class="comment">/* FSL_FEATURE_I2C_HAS_STOP_DETECT */</span><span class="preprocessor"></span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_START_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_START_STOP_DETECT</span></div><div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a3accfbb04bdb6e48e40927efa2269390">  103</a></span>&#160;    <a class="code" href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a3accfbb04bdb6e48e40927efa2269390">kI2C_StartStopDetectInterruptEnable</a> = I2C_FLT_SSIE_MASK, </div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">#endif                                                       </span><span class="comment">/* FSL_FEATURE_I2C_HAS_START_STOP_DETECT */</span><span class="preprocessor"></span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;};</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div><div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="group__i2c.html#gab49c827b45635206f06e5737606e4611">  108</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _i2c_direction</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;{</div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="group__i2c.html#ggab49c827b45635206f06e5737606e4611a93b476b469c2a4bfed5916b458ae9bb0">  110</a></span>&#160;    <a class="code" href="group__i2c.html#ggab49c827b45635206f06e5737606e4611a93b476b469c2a4bfed5916b458ae9bb0">kI2C_Write</a> = 0x0U, </div><div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="group__i2c.html#ggab49c827b45635206f06e5737606e4611a3a7bb24dc8d1c1be8925603eeafe9b30">  111</a></span>&#160;    <a class="code" href="group__i2c.html#ggab49c827b45635206f06e5737606e4611a3a7bb24dc8d1c1be8925603eeafe9b30">kI2C_Read</a> = 0x1U,  </div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;} <a class="code" href="group__i2c.html#gab49c827b45635206f06e5737606e4611">i2c_direction_t</a>;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="group__i2c.html#gac21e18657981bd7861f2ac5ebc5f633b">  115</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _i2c_slave_address_mode</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac21e18657981bd7861f2ac5ebc5f633ba3e2c7f1f917939d0d7595224e3700dd4">  117</a></span>&#160;    <a class="code" href="group__i2c.html#ggac21e18657981bd7861f2ac5ebc5f633ba3e2c7f1f917939d0d7595224e3700dd4">kI2C_Address7bit</a> = 0x0U, </div><div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac21e18657981bd7861f2ac5ebc5f633baa2c312f87691c542c466ff747d21f70a">  118</a></span>&#160;    <a class="code" href="group__i2c.html#ggac21e18657981bd7861f2ac5ebc5f633baa2c312f87691c542c466ff747d21f70a">kI2C_RangeMatch</a> = 0X2U,  </div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;} <a class="code" href="group__i2c.html#gac21e18657981bd7861f2ac5ebc5f633b">i2c_slave_address_mode_t</a>;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="group__i2c.html#ga87ea07668194cfb46c7c368d2cb42433">  122</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="group__i2c.html#ga87ea07668194cfb46c7c368d2cb42433">_i2c_master_transfer_flags</a></div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;{</div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433ae80f7b768b1621e42ac965d3d23de5e2">  124</a></span>&#160;    <a class="code" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433ae80f7b768b1621e42ac965d3d23de5e2">kI2C_TransferDefaultFlag</a> = 0x0U,       </div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433a5cb44bf860c0482c0ca0165cf0d31d8a">  125</a></span>&#160;    <a class="code" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433a5cb44bf860c0482c0ca0165cf0d31d8a">kI2C_TransferNoStartFlag</a> = 0x1U,       </div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433aadf112471ef12f194985a093cd9b9721">  126</a></span>&#160;    <a class="code" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433aadf112471ef12f194985a093cd9b9721">kI2C_TransferRepeatedStartFlag</a> = 0x2U, </div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433afb8aeea71b5b7475e3d3df86220db566">  127</a></span>&#160;    <a class="code" href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433afb8aeea71b5b7475e3d3df86220db566">kI2C_TransferNoStopFlag</a> = 0x4U,        </div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;};</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="group__i2c.html#gac53e5c96a2eed1b5a95b7d84be48f4ac">  140</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> _i2c_slave_transfer_event</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;{</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acacb1ae174dd6798a6fd79800a9e39a3c6">  142</a></span>&#160;    <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acacb1ae174dd6798a6fd79800a9e39a3c6">kI2C_SlaveAddressMatchEvent</a> = 0x01U, </div><div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca2f85039a57379838909876a1d509b7aa">  143</a></span>&#160;    <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca2f85039a57379838909876a1d509b7aa">kI2C_SlaveTransmitEvent</a> = 0x02U,     </div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acaac8593e808a8137d1b5d3a51640779de">  145</a></span>&#160;    <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acaac8593e808a8137d1b5d3a51640779de">kI2C_SlaveReceiveEvent</a> = 0x04U,      </div><div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca43c045da27fa60e7a0540c743eca4e79">  147</a></span>&#160;    <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca43c045da27fa60e7a0540c743eca4e79">kI2C_SlaveTransmitAckEvent</a> = 0x08U,  </div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_START_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_START_STOP_DETECT</span></div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca4c7de9b9d0c71a86ef6bd5cd6a39dad5">  149</a></span>&#160;    <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca4c7de9b9d0c71a86ef6bd5cd6a39dad5">kI2C_SlaveRepeatedStartEvent</a> = 0x10U, </div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca38cca3cd668e73f51b8e574835d419df">  151</a></span>&#160;    <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca38cca3cd668e73f51b8e574835d419df">kI2C_SlaveCompletionEvent</a> = 0x20U, </div><div class="line"><a name="l00154"></a><span class="lineno"><a class="line" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca94b030ebdac378a84961893ae567bfbc">  154</a></span>&#160;    <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca94b030ebdac378a84961893ae567bfbc">kI2C_SlaveAllEvents</a> = <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acacb1ae174dd6798a6fd79800a9e39a3c6">kI2C_SlaveAddressMatchEvent</a> | <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca2f85039a57379838909876a1d509b7aa">kI2C_SlaveTransmitEvent</a> | <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acaac8593e808a8137d1b5d3a51640779de">kI2C_SlaveReceiveEvent</a> |</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_START_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_START_STOP_DETECT</span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;                          <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca4c7de9b9d0c71a86ef6bd5cd6a39dad5">kI2C_SlaveRepeatedStartEvent</a> |</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;                          <a class="code" href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca38cca3cd668e73f51b8e574835d419df">kI2C_SlaveCompletionEvent</a>,</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;} <a class="code" href="group__i2c.html#gac53e5c96a2eed1b5a95b7d84be48f4ac">i2c_slave_transfer_event_t</a>;</div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="group__i2c.html">  162</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_i2c_master_config</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;{</div><div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="group__i2c.html#ab8b96ba3ced8b280ac1f366f6e76a9e7">  164</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#ab8b96ba3ced8b280ac1f366f6e76a9e7">enableMaster</a>; </div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION) &amp;&amp; FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION</span></div><div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="group__i2c.html#abfd79a5171ca9a694f18e9f6e634186c">  166</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#abfd79a5171ca9a694f18e9f6e634186c">enableHighDrive</a>; </div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_STOP_HOLD_OFF) &amp;&amp; FSL_FEATURE_I2C_HAS_STOP_HOLD_OFF</span></div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="group__i2c.html#ac9aaacb54567f1880fcaee7655cbbd79">  169</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#ac9aaacb54567f1880fcaee7655cbbd79">enableStopHold</a>; </div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="group__i2c.html#aa5df547b4cb95d3c959373cf6fa672b5">  171</a></span>&#160;    uint32_t <a class="code" href="group__i2c.html#aa5df547b4cb95d3c959373cf6fa672b5">baudRate_Bps</a>;     </div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="group__i2c.html#a0ec674bca5cb7bb8a6c51a44a5fc4314">  172</a></span>&#160;    uint8_t <a class="code" href="group__i2c.html#a0ec674bca5cb7bb8a6c51a44a5fc4314">glitchFilterWidth</a>; </div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;} <a class="code" href="group__i2c.html#structi2c__master__config__t">i2c_master_config_t</a>;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="group__i2c.html">  176</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_i2c_slave_config</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;{</div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="group__i2c.html#a9189d8f6438ba99548837da162213c46">  178</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#a9189d8f6438ba99548837da162213c46">enableSlave</a>;       </div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="group__i2c.html#aedb9cfa838d8a677d9193d5c92298ea4">  179</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#aedb9cfa838d8a677d9193d5c92298ea4">enableGeneralCall</a>; </div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="group__i2c.html#af1f3df39054da492f1da50ca792676af">  180</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#af1f3df39054da492f1da50ca792676af">enableWakeUp</a>;      </div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION) &amp;&amp; FSL_FEATURE_I2C_HAS_HIGH_DRIVE_SELECTION</span></div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="group__i2c.html#abfd79a5171ca9a694f18e9f6e634186c">  182</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#abfd79a5171ca9a694f18e9f6e634186c">enableHighDrive</a>; </div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="group__i2c.html#a788ff5c58438afe177059bf0d3c78d5a">  184</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#a788ff5c58438afe177059bf0d3c78d5a">enableBaudRateCtl</a>; </div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="group__i2c.html#a67af74c3fc959654c6dc8bcff3a2ea80">  185</a></span>&#160;    uint16_t <a class="code" href="group__i2c.html#a67af74c3fc959654c6dc8bcff3a2ea80">slaveAddress</a>;  </div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="group__i2c.html#a959e9269b2e7e83f1c4aebac870bf822">  186</a></span>&#160;    uint16_t <a class="code" href="group__i2c.html#a959e9269b2e7e83f1c4aebac870bf822">upperAddress</a>;  </div><div class="line"><a name="l00187"></a><span class="lineno"><a class="line" href="group__i2c.html#a2e946f1dfdd24a753f4c55a6ff3cc2e5">  187</a></span>&#160;    <a class="code" href="group__i2c.html#gac21e18657981bd7861f2ac5ebc5f633b">i2c_slave_address_mode_t</a> <a class="code" href="group__i2c.html#a2e946f1dfdd24a753f4c55a6ff3cc2e5">addressingMode</a>; </div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;} <a class="code" href="group__i2c.html#structi2c__slave__config__t">i2c_slave_config_t</a>;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__i2c.html#struct__i2c__master__handle">_i2c_master_handle</a> i2c_master_handle_t;</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="group__i2c.html#gafa39d30cd808d79b774361874f227204">  194</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__i2c.html#gafa39d30cd808d79b774361874f227204">i2c_master_transfer_callback_t</a>)(I2C_Type *base,</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;                                               i2c_master_handle_t *handle,</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;                                               <a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> status,</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;                                               <span class="keywordtype">void</span> *<a class="code" href="group__i2c.html#a2e294dd14122c554baa0665072b4ca7a">userData</a>);</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="group__i2c.html#struct__i2c__slave__handle">_i2c_slave_handle</a> i2c_slave_handle_t;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="group__i2c.html">  203</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_i2c_master_transfer</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;{</div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="group__i2c.html#a773b39d480759f67926cb18ae2219281">  205</a></span>&#160;    uint32_t <a class="code" href="group__i2c.html#a773b39d480759f67926cb18ae2219281">flags</a>;            </div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="group__i2c.html#a7b9ab02d5063e8653f0586395ccd7013">  206</a></span>&#160;    uint8_t <a class="code" href="group__i2c.html#a7b9ab02d5063e8653f0586395ccd7013">slaveAddress</a>;      </div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="group__i2c.html#aec93fd70f8f4f4cf2fafcbe0a4df08c2">  207</a></span>&#160;    <a class="code" href="group__i2c.html#gab49c827b45635206f06e5737606e4611">i2c_direction_t</a> <a class="code" href="group__i2c.html#aec93fd70f8f4f4cf2fafcbe0a4df08c2">direction</a>; </div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="group__i2c.html#a6fbfb5e5018422a177a9f3ed7269b127">  208</a></span>&#160;    uint32_t <a class="code" href="group__i2c.html#a6fbfb5e5018422a177a9f3ed7269b127">subaddress</a>;       </div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="group__i2c.html#ab690ec66e8cde484f919799fb1118cd6">  209</a></span>&#160;    uint8_t <a class="code" href="group__i2c.html#ab690ec66e8cde484f919799fb1118cd6">subaddressSize</a>;    </div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="group__i2c.html#a6df23c71c49ca7371f41136934d4fad1">  210</a></span>&#160;    uint8_t *<span class="keyword">volatile</span> <a class="code" href="group__i2c.html#a6df23c71c49ca7371f41136934d4fad1">data</a>;    </div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="group__i2c.html#aec81567ca73e5b0cb790098785e345c5">  211</a></span>&#160;    <span class="keyword">volatile</span> <span class="keywordtype">size_t</span> <a class="code" href="group__i2c.html#aec81567ca73e5b0cb790098785e345c5">dataSize</a>;  </div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;} <a class="code" href="group__i2c.html#structi2c__master__transfer__t">i2c_master_transfer_t</a>;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;</div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="group__i2c.html">  215</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__i2c.html#struct__i2c__master__handle">_i2c_master_handle</a></div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;{</div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="group__i2c.html#a9f792796934731101c55954d82000811">  217</a></span>&#160;    <a class="code" href="group__i2c.html#structi2c__master__transfer__t">i2c_master_transfer_t</a> <a class="code" href="group__i2c.html#a9f792796934731101c55954d82000811">transfer</a>;                    </div><div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="group__i2c.html#a10e6d1f095e525fa85ffe957081ed7a7">  218</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="group__i2c.html#a10e6d1f095e525fa85ffe957081ed7a7">transferSize</a>;                               </div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="group__i2c.html#a0b57aa10271a66f3dc936bba1d2f3830">  219</a></span>&#160;    uint8_t <a class="code" href="group__i2c.html#a0b57aa10271a66f3dc936bba1d2f3830">state</a>;                                     </div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="group__i2c.html#ab886e4f1a8a9cd0953a6dc2b0f33e87c">  220</a></span>&#160;    <a class="code" href="group__i2c.html#gafa39d30cd808d79b774361874f227204">i2c_master_transfer_callback_t</a> <a class="code" href="group__i2c.html#ab886e4f1a8a9cd0953a6dc2b0f33e87c">completionCallback</a>; </div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="group__i2c.html#a2e294dd14122c554baa0665072b4ca7a">  221</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="group__i2c.html#a2e294dd14122c554baa0665072b4ca7a">userData</a>;                                    </div><div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;};</div><div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="group__i2c.html">  225</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>_i2c_slave_transfer</div><div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;{</div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="group__i2c.html#ad43dfdc1308f39dd4bff91414c1cce2c">  227</a></span>&#160;    <a class="code" href="group__i2c.html#gac53e5c96a2eed1b5a95b7d84be48f4ac">i2c_slave_transfer_event_t</a> <a class="code" href="group__i2c.html#ad43dfdc1308f39dd4bff91414c1cce2c">event</a>; </div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="group__i2c.html#a6df23c71c49ca7371f41136934d4fad1">  228</a></span>&#160;    uint8_t *<span class="keyword">volatile</span> <a class="code" href="group__i2c.html#a6df23c71c49ca7371f41136934d4fad1">data</a>;           </div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="group__i2c.html#aec81567ca73e5b0cb790098785e345c5">  229</a></span>&#160;    <span class="keyword">volatile</span> <span class="keywordtype">size_t</span> <a class="code" href="group__i2c.html#aec81567ca73e5b0cb790098785e345c5">dataSize</a>;         </div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="group__i2c.html#aac6aa92f2aef99293ab2f5ad6f734fad">  230</a></span>&#160;    <a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#aac6aa92f2aef99293ab2f5ad6f734fad">completionStatus</a>;        </div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="group__i2c.html#a97856cb5d71b7981d4ce9813124a5433">  232</a></span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="group__i2c.html#a97856cb5d71b7981d4ce9813124a5433">transferredCount</a>;          </div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;} <a class="code" href="group__i2c.html#structi2c__slave__transfer__t">i2c_slave_transfer_t</a>;</div><div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;</div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="group__i2c.html#ga2583e3d8ebf8d3de410d8b6263238c35">  236</a></span>&#160;<span class="keyword">typedef</span> void (*<a class="code" href="group__i2c.html#ga2583e3d8ebf8d3de410d8b6263238c35">i2c_slave_transfer_callback_t</a>)(I2C_Type *base, <a class="code" href="group__i2c.html#structi2c__slave__transfer__t">i2c_slave_transfer_t</a> *xfer, <span class="keywordtype">void</span> *userData);</div><div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;</div><div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="group__i2c.html">  239</a></span>&#160;<span class="keyword">struct </span><a class="code" href="group__i2c.html#struct__i2c__slave__handle">_i2c_slave_handle</a></div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;{</div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="group__i2c.html#a099f725f22a344e190121634f53328d8">  241</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="group__i2c.html#a099f725f22a344e190121634f53328d8">isBusy</a>;                            </div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="group__i2c.html#a8cfa005502ce2f110a54f99672380f5f">  242</a></span>&#160;    <a class="code" href="group__i2c.html#structi2c__slave__transfer__t">i2c_slave_transfer_t</a> <a class="code" href="group__i2c.html#a8cfa005502ce2f110a54f99672380f5f">transfer</a>;          </div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="group__i2c.html#acf2922a79dce3fb9f7c7fe948de1f5a8">  243</a></span>&#160;    uint32_t <a class="code" href="group__i2c.html#acf2922a79dce3fb9f7c7fe948de1f5a8">eventMask</a>;                     </div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="group__i2c.html#a8630826ced50476e2c1446747c3b2f03">  244</a></span>&#160;    <a class="code" href="group__i2c.html#ga2583e3d8ebf8d3de410d8b6263238c35">i2c_slave_transfer_callback_t</a> <a class="code" href="group__i2c.html#a8630826ced50476e2c1446747c3b2f03">callback</a>; </div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="group__i2c.html#a2e294dd14122c554baa0665072b4ca7a">  245</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="group__i2c.html#a2e294dd14122c554baa0665072b4ca7a">userData</a>;                         </div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;};</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment"> * API</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;<span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*_cplusplus. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;</div><div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga29f967b3ae8487a36ba2a58deb01ccae">I2C_MasterInit</a>(I2C_Type *base, <span class="keyword">const</span> <a class="code" href="group__i2c.html#structi2c__master__config__t">i2c_master_config_t</a> *masterConfig, uint32_t srcClock_Hz);</div><div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gae6e155a5aadb43d527418e2965e39123">I2C_SlaveInit</a>(I2C_Type *base, <span class="keyword">const</span> <a class="code" href="group__i2c.html#structi2c__slave__config__t">i2c_slave_config_t</a> *slaveConfig);</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gadcf7122f0a38d4d9da0f052fcb167957">I2C_MasterDeinit</a>(I2C_Type *base);</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gadb50014db29dd75ea2001fb7bc837e77">I2C_SlaveDeinit</a>(I2C_Type *base);</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gad69f2d63ea756dda60749ff6b09f587d">I2C_MasterGetDefaultConfig</a>(<a class="code" href="group__i2c.html#structi2c__master__config__t">i2c_master_config_t</a> *masterConfig);</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga7115f80e28b62bbbd3be1a2a918529ba">I2C_SlaveGetDefaultConfig</a>(<a class="code" href="group__i2c.html#structi2c__slave__config__t">i2c_slave_config_t</a> *slaveConfig);</div><div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;</div><div class="line"><a name="l00364"></a><span class="lineno"><a class="line" href="group__i2c.html#gaaaaab1e83cb8c6117046bdb5bcbf9ac6">  364</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gaaaaab1e83cb8c6117046bdb5bcbf9ac6">I2C_Enable</a>(I2C_Type *base, <span class="keywordtype">bool</span> enable)</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;{</div><div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;    <span class="keywordflow">if</span> (enable)</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;    {</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;        base-&gt;C1 |= I2C_C1_IICEN_MASK;</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;    }</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;    {</div><div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;        base-&gt;C1 &amp;= ~I2C_C1_IICEN_MASK;</div><div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;    }</div><div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;}</div><div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;</div><div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;</div><div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;uint32_t <a class="code" href="group__i2c.html#ga721e41295dedc83b424e80e53065e625">I2C_MasterGetStatusFlags</a>(I2C_Type *base);</div><div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;</div><div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="group__i2c.html#gac2794e138d94d9b6a761c074ad0899cd">  397</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> uint32_t <a class="code" href="group__i2c.html#gac2794e138d94d9b6a761c074ad0899cd">I2C_SlaveGetStatusFlags</a>(I2C_Type *base)</div><div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;{</div><div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="group__i2c.html#ga721e41295dedc83b424e80e53065e625">I2C_MasterGetStatusFlags</a>(base);</div><div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;}</div><div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;</div><div class="line"><a name="l00415"></a><span class="lineno"><a class="line" href="group__i2c.html#ga437271ffb955b77df0a5dee9ea80cc63">  415</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga437271ffb955b77df0a5dee9ea80cc63">I2C_MasterClearStatusFlags</a>(I2C_Type *base, uint32_t statusMask)</div><div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;{</div><div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;<span class="comment">/* Must clear the STARTF / STOPF bits prior to clearing IICIF */</span></div><div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_START_STOP_DETECT) &amp;&amp; FSL_FEATURE_I2C_HAS_START_STOP_DETECT</span></div><div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    <span class="keywordflow">if</span> (statusMask &amp; <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a07e611eaff148acca64fae7f1f0e1577">kI2C_StartDetectFlag</a>)</div><div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;    {</div><div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        <span class="comment">/* Shift the odd-ball flags back into place. */</span></div><div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        base-&gt;FLT |= (uint8_t)(statusMask &gt;&gt; 8U);</div><div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;    }</div><div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;</div><div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;<span class="preprocessor">#ifdef I2C_HAS_STOP_DETECT</span></div><div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160;    <span class="keywordflow">if</span> (statusMask &amp; <a class="code" href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a942f41cfdfcd976ab26e77ce95c386ae">kI2C_StopDetectFlag</a>)</div><div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160;    {</div><div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;        <span class="comment">/* Shift the odd-ball flags back into place. */</span></div><div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;        base-&gt;FLT |= (uint8_t)(statusMask &gt;&gt; 8U);</div><div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;    }</div><div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div><div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;    base-&gt;S = (uint8_t)statusMask;</div><div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;}</div><div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;</div><div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="group__i2c.html#ga545c1a43d8d49c4675de493d45a4063a">  450</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga545c1a43d8d49c4675de493d45a4063a">I2C_SlaveClearStatusFlags</a>(I2C_Type *base, uint32_t statusMask)</div><div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;{</div><div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    <a class="code" href="group__i2c.html#ga437271ffb955b77df0a5dee9ea80cc63">I2C_MasterClearStatusFlags</a>(base, statusMask);</div><div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;}</div><div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;</div><div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;</div><div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga577e094cc4d39b88ec5bbe49bc199c77">I2C_EnableInterrupts</a>(I2C_Type *base, uint32_t mask);</div><div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;</div><div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga9839c1fd49a0f62f42b0adfa74f62853">I2C_DisableInterrupts</a>(I2C_Type *base, uint32_t mask);</div><div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;</div><div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;<span class="preprocessor">#if defined(FSL_FEATURE_I2C_HAS_DMA_SUPPORT) &amp;&amp; FSL_FEATURE_I2C_HAS_DMA_SUPPORT</span></div><div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;</div><div class="line"><a name="l00497"></a><span class="lineno"><a class="line" href="group__i2c.html#gac1c7c015a74aa0e2c8cd7df6dbf7fb71">  497</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gac1c7c015a74aa0e2c8cd7df6dbf7fb71">I2C_EnableDMA</a>(I2C_Type *base, <span class="keywordtype">bool</span> enable)</div><div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;{</div><div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    <span class="keywordflow">if</span> (enable)</div><div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;    {</div><div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;        base-&gt;C1 |= I2C_C1_DMAEN_MASK;</div><div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;    }</div><div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;    <span class="keywordflow">else</span></div><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    {</div><div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;        base-&gt;C1 &amp;= ~I2C_C1_DMAEN_MASK;</div><div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    }</div><div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;}</div><div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div><div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* FSL_FEATURE_I2C_HAS_DMA_SUPPORT */</span><span class="preprocessor"></span></div><div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;</div><div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="group__i2c.html#gaf3238d6c3de8e7e8aa7a6c3a8d645769">  518</a></span>&#160;<span class="keyword">static</span> <span class="keyword">inline</span> uint32_t <a class="code" href="group__i2c.html#gaf3238d6c3de8e7e8aa7a6c3a8d645769">I2C_GetDataRegAddr</a>(I2C_Type *base)</div><div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;{</div><div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;    <span class="keywordflow">return</span> (uint32_t)(&amp;(base-&gt;D));</div><div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;}</div><div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;</div><div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gafeab1d5249a8b39c8d9e1a54a85c23f0">I2C_MasterSetBaudRate</a>(I2C_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz);</div><div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;</div><div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#ga7664234966e4162e952b6d57efcaa8a6">I2C_MasterStart</a>(I2C_Type *base, uint8_t address, <a class="code" href="group__i2c.html#gab49c827b45635206f06e5737606e4611">i2c_direction_t</a> direction);</div><div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;</div><div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#gaf46a8cc094fc18c6cadea8de71448723">I2C_MasterStop</a>(I2C_Type *base);</div><div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;</div><div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#ga42ff265d25e713326c7d152adf350147">I2C_MasterRepeatedStart</a>(I2C_Type *base, uint8_t address, <a class="code" href="group__i2c.html#gab49c827b45635206f06e5737606e4611">i2c_direction_t</a> direction);</div><div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;</div><div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#gaba0a9e727e5a141b59b67f10a24dc9e6">I2C_MasterWriteBlocking</a>(I2C_Type *base, <span class="keyword">const</span> uint8_t *txBuff, <span class="keywordtype">size_t</span> txSize);</div><div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;</div><div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#ga815e953753bbfeea5277b527b16ac23e">I2C_MasterReadBlocking</a>(I2C_Type *base, uint8_t *rxBuff, <span class="keywordtype">size_t</span> rxSize);</div><div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;</div><div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#ga280404c6b1ede542f2c1c20bd382869c">I2C_SlaveWriteBlocking</a>(I2C_Type *base, <span class="keyword">const</span> uint8_t *txBuff, <span class="keywordtype">size_t</span> txSize);</div><div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;</div><div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gaf7409e50ffd9b260744c13863c7a3987">I2C_SlaveReadBlocking</a>(I2C_Type *base, uint8_t *rxBuff, <span class="keywordtype">size_t</span> rxSize);</div><div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;</div><div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#ga35cae3a5b4aa50ce8db28e3eb703a027">I2C_MasterTransferBlocking</a>(I2C_Type *base, <a class="code" href="group__i2c.html#structi2c__master__transfer__t">i2c_master_transfer_t</a> *xfer);</div><div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div><div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;</div><div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga31e3de02b57801c6896e6045c4a31268">I2C_MasterTransferCreateHandle</a>(I2C_Type *base,</div><div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;                                    i2c_master_handle_t *handle,</div><div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;                                    <a class="code" href="group__i2c.html#gafa39d30cd808d79b774361874f227204">i2c_master_transfer_callback_t</a> callback,</div><div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;                                    <span class="keywordtype">void</span> *userData);</div><div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;</div><div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#gac7f76a04b6f6873c52ad176d58901fe9">I2C_MasterTransferNonBlocking</a>(I2C_Type *base, i2c_master_handle_t *handle, <a class="code" href="group__i2c.html#structi2c__master__transfer__t">i2c_master_transfer_t</a> *xfer);</div><div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;</div><div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#ga7d720842e68161d2d52d56d119f20665">I2C_MasterTransferGetCount</a>(I2C_Type *base, i2c_master_handle_t *handle, <span class="keywordtype">size_t</span> *count);</div><div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;</div><div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga77c9f9c8bc0fe71bbcd9d479f51f8044">I2C_MasterTransferAbort</a>(I2C_Type *base, i2c_master_handle_t *handle);</div><div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;</div><div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gad091cd1857d2bd8ce64583739b3a35d5">I2C_MasterTransferHandleIRQ</a>(I2C_Type *base, <span class="keywordtype">void</span> *i2cHandle);</div><div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;</div><div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#gac9b90f575d92ff8ad3cc350a5c8ad1b9">I2C_SlaveTransferCreateHandle</a>(I2C_Type *base,</div><div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;                                   i2c_slave_handle_t *handle,</div><div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;                                   <a class="code" href="group__i2c.html#ga2583e3d8ebf8d3de410d8b6263238c35">i2c_slave_transfer_callback_t</a> callback,</div><div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;                                   <span class="keywordtype">void</span> *userData);</div><div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;</div><div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#gaa387d81ea08a9d4b39cfeb3dfec505f7">I2C_SlaveTransferNonBlocking</a>(I2C_Type *base, i2c_slave_handle_t *handle, uint32_t eventMask);</div><div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;</div><div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga5ae9f5e6e854d14d33ba3029128bd6f0">I2C_SlaveTransferAbort</a>(I2C_Type *base, i2c_slave_handle_t *handle);</div><div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;</div><div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;<a class="code" href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a> <a class="code" href="group__i2c.html#gabf38a498bd3527ea0b7cc947ae71e17e">I2C_SlaveTransferGetCount</a>(I2C_Type *base, i2c_slave_handle_t *handle, <span class="keywordtype">size_t</span> *count);</div><div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160;</div><div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__i2c.html#ga097c0b20503381de44cccba311dcf236">I2C_SlaveTransferHandleIRQ</a>(I2C_Type *base, <span class="keywordtype">void</span> *i2cHandle);</div><div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;</div><div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;<span class="comment">/* @} */</span></div><div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;<span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;}</div><div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/*_cplusplus. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;</div><div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _FSL_I2C_H_*/</span><span class="preprocessor"></span></div><div class="ttc" id="group__i2c_html_ggac21e18657981bd7861f2ac5ebc5f633ba3e2c7f1f917939d0d7595224e3700dd4"><div class="ttname"><a href="group__i2c.html#ggac21e18657981bd7861f2ac5ebc5f633ba3e2c7f1f917939d0d7595224e3700dd4">kI2C_Address7bit</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:117</div></div>
<div class="ttc" id="group__i2c_html_structi2c__master__config__t"><div class="ttname"><a href="group__i2c.html#structi2c__master__config__t">i2c_master_config_t</a></div><div class="ttdoc">I2C master user config. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:162</div></div>
<div class="ttc" id="group__i2c_html_ga815e953753bbfeea5277b527b16ac23e"><div class="ttname"><a href="group__i2c.html#ga815e953753bbfeea5277b527b16ac23e">I2C_MasterReadBlocking</a></div><div class="ttdeci">status_t I2C_MasterReadBlocking(I2C_Type *base, uint8_t *rxBuff, size_t rxSize)</div><div class="ttdoc">Performs a polling receive transaction on the I2C bus with a STOP signal. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:747</div></div>
<div class="ttc" id="group__i2c_html_ga35cae3a5b4aa50ce8db28e3eb703a027"><div class="ttname"><a href="group__i2c.html#ga35cae3a5b4aa50ce8db28e3eb703a027">I2C_MasterTransferBlocking</a></div><div class="ttdeci">status_t I2C_MasterTransferBlocking(I2C_Type *base, i2c_master_transfer_t *xfer)</div><div class="ttdoc">Performs a master polling transfer on the I2C bus. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:806</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a647d0b1d1f9514ad483bef3ea3926c3b"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a647d0b1d1f9514ad483bef3ea3926c3b">kI2C_IntPendingFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:77</div></div>
<div class="ttc" id="group__i2c_html_a8cfa005502ce2f110a54f99672380f5f"><div class="ttname"><a href="group__i2c.html#a8cfa005502ce2f110a54f99672380f5f">_i2c_slave_handle::transfer</a></div><div class="ttdeci">i2c_slave_transfer_t transfer</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:242</div></div>
<div class="ttc" id="group__i2c_html_gaa387d81ea08a9d4b39cfeb3dfec505f7"><div class="ttname"><a href="group__i2c.html#gaa387d81ea08a9d4b39cfeb3dfec505f7">I2C_SlaveTransferNonBlocking</a></div><div class="ttdeci">status_t I2C_SlaveTransferNonBlocking(I2C_Type *base, i2c_slave_handle_t *handle, uint32_t eventMask)</div><div class="ttdoc">Start accepting slave transfers. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1208</div></div>
<div class="ttc" id="group__i2c_html_ab690ec66e8cde484f919799fb1118cd6"><div class="ttname"><a href="group__i2c.html#ab690ec66e8cde484f919799fb1118cd6">i2c_master_transfer_t::subaddressSize</a></div><div class="ttdeci">uint8_t subaddressSize</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:209</div></div>
<div class="ttc" id="group__i2c_html_ga29f967b3ae8487a36ba2a58deb01ccae"><div class="ttname"><a href="group__i2c.html#ga29f967b3ae8487a36ba2a58deb01ccae">I2C_MasterInit</a></div><div class="ttdeci">void I2C_MasterInit(I2C_Type *base, const i2c_master_config_t *masterConfig, uint32_t srcClock_Hz)</div><div class="ttdoc">Initialize the I2C peripheral, call this API to ungate the i2c clock and configure the I2C with maste...</div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:412</div></div>
<div class="ttc" id="group__i2c_html_abfd79a5171ca9a694f18e9f6e634186c"><div class="ttname"><a href="group__i2c.html#abfd79a5171ca9a694f18e9f6e634186c">i2c_master_config_t::enableHighDrive</a></div><div class="ttdeci">bool enableHighDrive</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:166</div></div>
<div class="ttc" id="group__i2c_html_gga87c81dd985dad07dc26cb93125a94ec7a5526e27ef6e8317ba928849da890b3b2"><div class="ttname"><a href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a5526e27ef6e8317ba928849da890b3b2">kI2C_GlobalInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:96</div></div>
<div class="ttc" id="group__i2c_html_ga7cc91c89125c25a88e463a9e8550b284"><div class="ttname"><a href="group__i2c.html#ga7cc91c89125c25a88e463a9e8550b284">_i2c_status</a></div><div class="ttdeci">_i2c_status</div><div class="ttdoc">I2C status return codes. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:53</div></div>
<div class="ttc" id="group__i2c_html_gac1c7c015a74aa0e2c8cd7df6dbf7fb71"><div class="ttname"><a href="group__i2c.html#gac1c7c015a74aa0e2c8cd7df6dbf7fb71">I2C_EnableDMA</a></div><div class="ttdeci">static void I2C_EnableDMA(I2C_Type *base, bool enable)</div><div class="ttdoc">Enables/disables the I2C DMA interrupt. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:497</div></div>
<div class="ttc" id="group__i2c_html_gafa39d30cd808d79b774361874f227204"><div class="ttname"><a href="group__i2c.html#gafa39d30cd808d79b774361874f227204">i2c_master_transfer_callback_t</a></div><div class="ttdeci">void(* i2c_master_transfer_callback_t)(I2C_Type *base, i2c_master_handle_t *handle, status_t status, void *userData)</div><div class="ttdoc">I2C master transfer callback typedef. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:194</div></div>
<div class="ttc" id="group__i2c_html_gga87ea07668194cfb46c7c368d2cb42433aadf112471ef12f194985a093cd9b9721"><div class="ttname"><a href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433aadf112471ef12f194985a093cd9b9721">kI2C_TransferRepeatedStartFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:126</div></div>
<div class="ttc" id="group__i2c_html_gadcf7122f0a38d4d9da0f052fcb167957"><div class="ttname"><a href="group__i2c.html#gadcf7122f0a38d4d9da0f052fcb167957">I2C_MasterDeinit</a></div><div class="ttdeci">void I2C_MasterDeinit(I2C_Type *base)</div><div class="ttdoc">De-initialize the I2C master peripheral, call thi API will gate the i2c clock, so the I2C master modu...</div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:462</div></div>
<div class="ttc" id="group__i2c_html_a788ff5c58438afe177059bf0d3c78d5a"><div class="ttname"><a href="group__i2c.html#a788ff5c58438afe177059bf0d3c78d5a">i2c_slave_config_t::enableBaudRateCtl</a></div><div class="ttdeci">bool enableBaudRateCtl</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:184</div></div>
<div class="ttc" id="group__i2c_html_aec93fd70f8f4f4cf2fafcbe0a4df08c2"><div class="ttname"><a href="group__i2c.html#aec93fd70f8f4f4cf2fafcbe0a4df08c2">i2c_master_transfer_t::direction</a></div><div class="ttdeci">i2c_direction_t direction</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:207</div></div>
<div class="ttc" id="group__i2c_html_struct__i2c__master__handle"><div class="ttname"><a href="group__i2c.html#struct__i2c__master__handle">_i2c_master_handle</a></div><div class="ttdoc">I2C master handle structure. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:215</div></div>
<div class="ttc" id="group__i2c_html_gga87c81dd985dad07dc26cb93125a94ec7a3accfbb04bdb6e48e40927efa2269390"><div class="ttname"><a href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a3accfbb04bdb6e48e40927efa2269390">kI2C_StartStopDetectInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:103</div></div>
<div class="ttc" id="group__i2c_html_ab886e4f1a8a9cd0953a6dc2b0f33e87c"><div class="ttname"><a href="group__i2c.html#ab886e4f1a8a9cd0953a6dc2b0f33e87c">_i2c_master_handle::completionCallback</a></div><div class="ttdeci">i2c_master_transfer_callback_t completionCallback</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:220</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a10cd5797b1b8f809192423486a85d5fe"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a10cd5797b1b8f809192423486a85d5fe">kI2C_AddressMatchFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:82</div></div>
<div class="ttc" id="group__i2c_html_aac6aa92f2aef99293ab2f5ad6f734fad"><div class="ttname"><a href="group__i2c.html#aac6aa92f2aef99293ab2f5ad6f734fad">i2c_slave_transfer_t::completionStatus</a></div><div class="ttdeci">status_t completionStatus</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:230</div></div>
<div class="ttc" id="group__i2c_html_af1f3df39054da492f1da50ca792676af"><div class="ttname"><a href="group__i2c.html#af1f3df39054da492f1da50ca792676af">i2c_slave_config_t::enableWakeUp</a></div><div class="ttdeci">bool enableWakeUp</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:180</div></div>
<div class="ttc" id="group__i2c_html_gaaaaab1e83cb8c6117046bdb5bcbf9ac6"><div class="ttname"><a href="group__i2c.html#gaaaaab1e83cb8c6117046bdb5bcbf9ac6">I2C_Enable</a></div><div class="ttdeci">static void I2C_Enable(I2C_Type *base, bool enable)</div><div class="ttdoc">Enable or disables the I2C peripheral operation. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:364</div></div>
<div class="ttc" id="group__i2c_html_ggac53e5c96a2eed1b5a95b7d84be48f4acaac8593e808a8137d1b5d3a51640779de"><div class="ttname"><a href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acaac8593e808a8137d1b5d3a51640779de">kI2C_SlaveReceiveEvent</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:145</div></div>
<div class="ttc" id="group__i2c_html_ga77c9f9c8bc0fe71bbcd9d479f51f8044"><div class="ttname"><a href="group__i2c.html#ga77c9f9c8bc0fe71bbcd9d479f51f8044">I2C_MasterTransferAbort</a></div><div class="ttdeci">void I2C_MasterTransferAbort(I2C_Type *base, i2c_master_handle_t *handle)</div><div class="ttdoc">Abort a interrupt non-blocking transfer in a early time. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1005</div></div>
<div class="ttc" id="group__i2c_html_a2e294dd14122c554baa0665072b4ca7a"><div class="ttname"><a href="group__i2c.html#a2e294dd14122c554baa0665072b4ca7a">_i2c_master_handle::userData</a></div><div class="ttdeci">void * userData</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:221</div></div>
<div class="ttc" id="group__i2c_html_gabf38a498bd3527ea0b7cc947ae71e17e"><div class="ttname"><a href="group__i2c.html#gabf38a498bd3527ea0b7cc947ae71e17e">I2C_SlaveTransferGetCount</a></div><div class="ttdeci">status_t I2C_SlaveTransferGetCount(I2C_Type *base, i2c_slave_handle_t *handle, size_t *count)</div><div class="ttdoc">Get slave transfer remaining bytes during a interrupt non-blocking transfer. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1258</div></div>
<div class="ttc" id="group__ksdk__common_html_gga7ff0b98bb1341c07acefb1473b6eda29a5c67a60e98e49151455f565c2834d228"><div class="ttname"><a href="group__ksdk__common.html#gga7ff0b98bb1341c07acefb1473b6eda29a5c67a60e98e49151455f565c2834d228">kStatusGroup_I2C</a></div><div class="ttdef"><b>Definition:</b> fsl_common.h:76</div></div>
<div class="ttc" id="group__i2c_html_gga87ea07668194cfb46c7c368d2cb42433a5cb44bf860c0482c0ca0165cf0d31d8a"><div class="ttname"><a href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433a5cb44bf860c0482c0ca0165cf0d31d8a">kI2C_TransferNoStartFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:125</div></div>
<div class="ttc" id="group__i2c_html_gaba0a9e727e5a141b59b67f10a24dc9e6"><div class="ttname"><a href="group__i2c.html#gaba0a9e727e5a141b59b67f10a24dc9e6">I2C_MasterWriteBlocking</a></div><div class="ttdeci">status_t I2C_MasterWriteBlocking(I2C_Type *base, const uint8_t *txBuff, size_t txSize)</div><div class="ttdoc">Performs a polling send transaction on the I2C bus without a STOP signal. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:693</div></div>
<div class="ttc" id="group__i2c_html_acf2922a79dce3fb9f7c7fe948de1f5a8"><div class="ttname"><a href="group__i2c.html#acf2922a79dce3fb9f7c7fe948de1f5a8">_i2c_slave_handle::eventMask</a></div><div class="ttdeci">uint32_t eventMask</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:243</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a942f41cfdfcd976ab26e77ce95c386ae"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a942f41cfdfcd976ab26e77ce95c386ae">kI2C_StopDetectFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:85</div></div>
<div class="ttc" id="group__i2c_html_ga7664234966e4162e952b6d57efcaa8a6"><div class="ttname"><a href="group__i2c.html#ga7664234966e4162e952b6d57efcaa8a6">I2C_MasterStart</a></div><div class="ttdeci">status_t I2C_MasterStart(I2C_Type *base, uint8_t address, i2c_direction_t direction)</div><div class="ttdoc">Sends a START on the I2C bus. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:581</div></div>
<div class="ttc" id="group__i2c_html_a099f725f22a344e190121634f53328d8"><div class="ttname"><a href="group__i2c.html#a099f725f22a344e190121634f53328d8">_i2c_slave_handle::isBusy</a></div><div class="ttdeci">bool isBusy</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:241</div></div>
<div class="ttc" id="group__i2c_html_ac9aaacb54567f1880fcaee7655cbbd79"><div class="ttname"><a href="group__i2c.html#ac9aaacb54567f1880fcaee7655cbbd79">i2c_master_config_t::enableStopHold</a></div><div class="ttdeci">bool enableStopHold</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:169</div></div>
<div class="ttc" id="group__i2c_html_ga42ff265d25e713326c7d152adf350147"><div class="ttname"><a href="group__i2c.html#ga42ff265d25e713326c7d152adf350147">I2C_MasterRepeatedStart</a></div><div class="ttdeci">status_t I2C_MasterRepeatedStart(I2C_Type *base, uint8_t address, i2c_direction_t direction)</div><div class="ttdoc">Sends a REPEATED START on the I2C bus. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:608</div></div>
<div class="ttc" id="group__i2c_html_struct__i2c__slave__handle"><div class="ttname"><a href="group__i2c.html#struct__i2c__slave__handle">_i2c_slave_handle</a></div><div class="ttdoc">I2C slave handle structure. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:239</div></div>
<div class="ttc" id="group__i2c_html_a9f792796934731101c55954d82000811"><div class="ttname"><a href="group__i2c.html#a9f792796934731101c55954d82000811">_i2c_master_handle::transfer</a></div><div class="ttdeci">i2c_master_transfer_t transfer</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:217</div></div>
<div class="ttc" id="group__i2c_html_gga7cc91c89125c25a88e463a9e8550b284a628d242f7bc0e3d5949c7f73eafaa508"><div class="ttname"><a href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a628d242f7bc0e3d5949c7f73eafaa508">kStatus_I2C_Idle</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:56</div></div>
<div class="ttc" id="group__i2c_html_a8630826ced50476e2c1446747c3b2f03"><div class="ttname"><a href="group__i2c.html#a8630826ced50476e2c1446747c3b2f03">_i2c_slave_handle::callback</a></div><div class="ttdeci">i2c_slave_transfer_callback_t callback</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:244</div></div>
<div class="ttc" id="group__i2c_html_ga097c0b20503381de44cccba311dcf236"><div class="ttname"><a href="group__i2c.html#ga097c0b20503381de44cccba311dcf236">I2C_SlaveTransferHandleIRQ</a></div><div class="ttdeci">void I2C_SlaveTransferHandleIRQ(I2C_Type *base, void *i2cHandle)</div><div class="ttdoc">Slave interrupt handler. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1280</div></div>
<div class="ttc" id="group__i2c_html_a67af74c3fc959654c6dc8bcff3a2ea80"><div class="ttname"><a href="group__i2c.html#a67af74c3fc959654c6dc8bcff3a2ea80">i2c_slave_config_t::slaveAddress</a></div><div class="ttdeci">uint16_t slaveAddress</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:185</div></div>
<div class="ttc" id="group__i2c_html_a2e946f1dfdd24a753f4c55a6ff3cc2e5"><div class="ttname"><a href="group__i2c.html#a2e946f1dfdd24a753f4c55a6ff3cc2e5">i2c_slave_config_t::addressingMode</a></div><div class="ttdeci">i2c_slave_address_mode_t addressingMode</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:187</div></div>
<div class="ttc" id="group__i2c_html_a6fbfb5e5018422a177a9f3ed7269b127"><div class="ttname"><a href="group__i2c.html#a6fbfb5e5018422a177a9f3ed7269b127">i2c_master_transfer_t::subaddress</a></div><div class="ttdeci">uint32_t subaddress</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:208</div></div>
<div class="ttc" id="group__i2c_html_ggac53e5c96a2eed1b5a95b7d84be48f4aca43c045da27fa60e7a0540c743eca4e79"><div class="ttname"><a href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca43c045da27fa60e7a0540c743eca4e79">kI2C_SlaveTransmitAckEvent</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:147</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a4c3c2928e17ddbfbc1c346c6b9a8dccd"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a4c3c2928e17ddbfbc1c346c6b9a8dccd">kI2C_ReceiveNakFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:76</div></div>
<div class="ttc" id="group__i2c_html_a773b39d480759f67926cb18ae2219281"><div class="ttname"><a href="group__i2c.html#a773b39d480759f67926cb18ae2219281">i2c_master_transfer_t::flags</a></div><div class="ttdeci">uint32_t flags</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:205</div></div>
<div class="ttc" id="group__i2c_html_gga87c81dd985dad07dc26cb93125a94ec7a3d36e9fb0895af1f915abdd66dd7e77c"><div class="ttname"><a href="group__i2c.html#gga87c81dd985dad07dc26cb93125a94ec7a3d36e9fb0895af1f915abdd66dd7e77c">kI2C_StopDetectInterruptEnable</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:99</div></div>
<div class="ttc" id="group__i2c_html_ad43dfdc1308f39dd4bff91414c1cce2c"><div class="ttname"><a href="group__i2c.html#ad43dfdc1308f39dd4bff91414c1cce2c">i2c_slave_transfer_t::event</a></div><div class="ttdeci">i2c_slave_transfer_event_t event</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:227</div></div>
<div class="ttc" id="group__i2c_html_gga87ea07668194cfb46c7c368d2cb42433ae80f7b768b1621e42ac965d3d23de5e2"><div class="ttname"><a href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433ae80f7b768b1621e42ac965d3d23de5e2">kI2C_TransferDefaultFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:124</div></div>
<div class="ttc" id="group__i2c_html_a0b57aa10271a66f3dc936bba1d2f3830"><div class="ttname"><a href="group__i2c.html#a0b57aa10271a66f3dc936bba1d2f3830">_i2c_master_handle::state</a></div><div class="ttdeci">uint8_t state</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:219</div></div>
<div class="ttc" id="group__i2c_html_gac7f76a04b6f6873c52ad176d58901fe9"><div class="ttname"><a href="group__i2c.html#gac7f76a04b6f6873c52ad176d58901fe9">I2C_MasterTransferNonBlocking</a></div><div class="ttdeci">status_t I2C_MasterTransferNonBlocking(I2C_Type *base, i2c_master_handle_t *handle, i2c_master_transfer_t *xfer)</div><div class="ttdoc">Performs a master interrupt non-blocking transfer on the I2C bus. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:978</div></div>
<div class="ttc" id="group__i2c_html_ggab49c827b45635206f06e5737606e4611a93b476b469c2a4bfed5916b458ae9bb0"><div class="ttname"><a href="group__i2c.html#ggab49c827b45635206f06e5737606e4611a93b476b469c2a4bfed5916b458ae9bb0">kI2C_Write</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:110</div></div>
<div class="ttc" id="group__i2c_html_gga7cc91c89125c25a88e463a9e8550b284a139b52cc3305ec2c06d0ac94313c221f"><div class="ttname"><a href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a139b52cc3305ec2c06d0ac94313c221f">kStatus_I2C_ArbitrationLost</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:58</div></div>
<div class="ttc" id="group__i2c_html_gad69f2d63ea756dda60749ff6b09f587d"><div class="ttname"><a href="group__i2c.html#gad69f2d63ea756dda60749ff6b09f587d">I2C_MasterGetDefaultConfig</a></div><div class="ttdeci">void I2C_MasterGetDefaultConfig(i2c_master_config_t *masterConfig)</div><div class="ttdoc">Set the I2C master configuration structure to default values. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:471</div></div>
<div class="ttc" id="group__i2c_html_gac53e5c96a2eed1b5a95b7d84be48f4ac"><div class="ttname"><a href="group__i2c.html#gac53e5c96a2eed1b5a95b7d84be48f4ac">i2c_slave_transfer_event_t</a></div><div class="ttdeci">i2c_slave_transfer_event_t</div><div class="ttdoc">Set of events sent to the callback for nonblocking slave transfers. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:140</div></div>
<div class="ttc" id="group__i2c_html_ga545c1a43d8d49c4675de493d45a4063a"><div class="ttname"><a href="group__i2c.html#ga545c1a43d8d49c4675de493d45a4063a">I2C_SlaveClearStatusFlags</a></div><div class="ttdeci">static void I2C_SlaveClearStatusFlags(I2C_Type *base, uint32_t statusMask)</div><div class="ttdoc">Clears the I2C status flag state. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:450</div></div>
<div class="ttc" id="group__i2c_html_gafeab1d5249a8b39c8d9e1a54a85c23f0"><div class="ttname"><a href="group__i2c.html#gafeab1d5249a8b39c8d9e1a54a85c23f0">I2C_MasterSetBaudRate</a></div><div class="ttdeci">void I2C_MasterSetBaudRate(I2C_Type *base, uint32_t baudRate_Bps, uint32_t srcClock_Hz)</div><div class="ttdoc">Sets the I2C master transfer baudrate. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:539</div></div>
<div class="ttc" id="group__i2c_html_structi2c__slave__transfer__t"><div class="ttname"><a href="group__i2c.html#structi2c__slave__transfer__t">i2c_slave_transfer_t</a></div><div class="ttdoc">I2C slave transfer structure. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:225</div></div>
<div class="ttc" id="group__i2c_html_aa5df547b4cb95d3c959373cf6fa672b5"><div class="ttname"><a href="group__i2c.html#aa5df547b4cb95d3c959373cf6fa672b5">i2c_master_config_t::baudRate_Bps</a></div><div class="ttdeci">uint32_t baudRate_Bps</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:171</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a249f698970909f33b1b96139c05bd969"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a249f698970909f33b1b96139c05bd969">kI2C_TransferDirectionFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:78</div></div>
<div class="ttc" id="group__i2c_html_aec81567ca73e5b0cb790098785e345c5"><div class="ttname"><a href="group__i2c.html#aec81567ca73e5b0cb790098785e345c5">i2c_master_transfer_t::dataSize</a></div><div class="ttdeci">volatile size_t dataSize</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:211</div></div>
<div class="ttc" id="group__i2c_html_a10e6d1f095e525fa85ffe957081ed7a7"><div class="ttname"><a href="group__i2c.html#a10e6d1f095e525fa85ffe957081ed7a7">_i2c_master_handle::transferSize</a></div><div class="ttdeci">size_t transferSize</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:218</div></div>
<div class="ttc" id="group__i2c_html_ga721e41295dedc83b424e80e53065e625"><div class="ttname"><a href="group__i2c.html#ga721e41295dedc83b424e80e53065e625">I2C_MasterGetStatusFlags</a></div><div class="ttdeci">uint32_t I2C_MasterGetStatusFlags(I2C_Type *base)</div><div class="ttdoc">Gets the I2C status flags. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:670</div></div>
<div class="ttc" id="group__i2c_html_structi2c__slave__config__t"><div class="ttname"><a href="group__i2c.html#structi2c__slave__config__t">i2c_slave_config_t</a></div><div class="ttdoc">I2C slave user config. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:176</div></div>
<div class="ttc" id="group__i2c_html_gga7cc91c89125c25a88e463a9e8550b284a72fd33d0b5263a63766e62f71d16be00"><div class="ttname"><a href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a72fd33d0b5263a63766e62f71d16be00">kStatus_I2C_Nak</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:57</div></div>
<div class="ttc" id="group__i2c_html_ggab49c827b45635206f06e5737606e4611a3a7bb24dc8d1c1be8925603eeafe9b30"><div class="ttname"><a href="group__i2c.html#ggab49c827b45635206f06e5737606e4611a3a7bb24dc8d1c1be8925603eeafe9b30">kI2C_Read</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:111</div></div>
<div class="ttc" id="group__i2c_html_ga31e3de02b57801c6896e6045c4a31268"><div class="ttname"><a href="group__i2c.html#ga31e3de02b57801c6896e6045c4a31268">I2C_MasterTransferCreateHandle</a></div><div class="ttdeci">void I2C_MasterTransferCreateHandle(I2C_Type *base, i2c_master_handle_t *handle, i2c_master_transfer_callback_t callback, void *userData)</div><div class="ttdoc">Init the I2C handle which is used in transactional functions. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:952</div></div>
<div class="ttc" id="group__i2c_html_gga7cc91c89125c25a88e463a9e8550b284a49091894b590d7e479605bf113918952"><div class="ttname"><a href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a49091894b590d7e479605bf113918952">kStatus_I2C_Busy</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:55</div></div>
<div class="ttc" id="group__i2c_html_ggac53e5c96a2eed1b5a95b7d84be48f4aca2f85039a57379838909876a1d509b7aa"><div class="ttname"><a href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca2f85039a57379838909876a1d509b7aa">kI2C_SlaveTransmitEvent</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:143</div></div>
<div class="ttc" id="group__i2c_html_gac21e18657981bd7861f2ac5ebc5f633b"><div class="ttname"><a href="group__i2c.html#gac21e18657981bd7861f2ac5ebc5f633b">i2c_slave_address_mode_t</a></div><div class="ttdeci">i2c_slave_address_mode_t</div><div class="ttdoc">Addressing mode. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:115</div></div>
<div class="ttc" id="group__i2c_html_a97856cb5d71b7981d4ce9813124a5433"><div class="ttname"><a href="group__i2c.html#a97856cb5d71b7981d4ce9813124a5433">i2c_slave_transfer_t::transferredCount</a></div><div class="ttdeci">size_t transferredCount</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:232</div></div>
<div class="ttc" id="group__i2c_html_gaf7409e50ffd9b260744c13863c7a3987"><div class="ttname"><a href="group__i2c.html#gaf7409e50ffd9b260744c13863c7a3987">I2C_SlaveReadBlocking</a></div><div class="ttdeci">void I2C_SlaveReadBlocking(I2C_Type *base, uint8_t *rxBuff, size_t rxSize)</div><div class="ttdoc">Performs a polling receive transaction on the I2C bus. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1154</div></div>
<div class="ttc" id="group__i2c_html_gaf3238d6c3de8e7e8aa7a6c3a8d645769"><div class="ttname"><a href="group__i2c.html#gaf3238d6c3de8e7e8aa7a6c3a8d645769">I2C_GetDataRegAddr</a></div><div class="ttdeci">static uint32_t I2C_GetDataRegAddr(I2C_Type *base)</div><div class="ttdoc">Get I2C tx/rx data register address This API is used to provide transfer address for I2C DMA transfer...</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:518</div></div>
<div class="ttc" id="group__i2c_html_a9189d8f6438ba99548837da162213c46"><div class="ttname"><a href="group__i2c.html#a9189d8f6438ba99548837da162213c46">i2c_slave_config_t::enableSlave</a></div><div class="ttdeci">bool enableSlave</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:178</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a37fb20742a15a63c1bc2551b997cdcff"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a37fb20742a15a63c1bc2551b997cdcff">kI2C_BusBusyFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:81</div></div>
<div class="ttc" id="group__i2c_html_ga87ea07668194cfb46c7c368d2cb42433"><div class="ttname"><a href="group__i2c.html#ga87ea07668194cfb46c7c368d2cb42433">_i2c_master_transfer_flags</a></div><div class="ttdeci">_i2c_master_transfer_flags</div><div class="ttdoc">I2C transfer control flag. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:122</div></div>
<div class="ttc" id="group__i2c_html_a6df23c71c49ca7371f41136934d4fad1"><div class="ttname"><a href="group__i2c.html#a6df23c71c49ca7371f41136934d4fad1">i2c_master_transfer_t::data</a></div><div class="ttdeci">uint8_t *volatile data</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:210</div></div>
<div class="ttc" id="group__i2c_html_a7b9ab02d5063e8653f0586395ccd7013"><div class="ttname"><a href="group__i2c.html#a7b9ab02d5063e8653f0586395ccd7013">i2c_master_transfer_t::slaveAddress</a></div><div class="ttdeci">uint8_t slaveAddress</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:206</div></div>
<div class="ttc" id="group__i2c_html_ggac53e5c96a2eed1b5a95b7d84be48f4aca94b030ebdac378a84961893ae567bfbc"><div class="ttname"><a href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca94b030ebdac378a84961893ae567bfbc">kI2C_SlaveAllEvents</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:154</div></div>
<div class="ttc" id="group__i2c_html_a959e9269b2e7e83f1c4aebac870bf822"><div class="ttname"><a href="group__i2c.html#a959e9269b2e7e83f1c4aebac870bf822">i2c_slave_config_t::upperAddress</a></div><div class="ttdeci">uint16_t upperAddress</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:186</div></div>
<div class="ttc" id="group__i2c_html_ga9839c1fd49a0f62f42b0adfa74f62853"><div class="ttname"><a href="group__i2c.html#ga9839c1fd49a0f62f42b0adfa74f62853">I2C_DisableInterrupts</a></div><div class="ttdeci">void I2C_DisableInterrupts(I2C_Type *base, uint32_t mask)</div><div class="ttdoc">Disable I2C interrupt requests. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:517</div></div>
<div class="ttc" id="group__i2c_html_ga87c81dd985dad07dc26cb93125a94ec7"><div class="ttname"><a href="group__i2c.html#ga87c81dd985dad07dc26cb93125a94ec7">_i2c_interrupt_enable</a></div><div class="ttdeci">_i2c_interrupt_enable</div><div class="ttdoc">I2C feature interrupt source. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:94</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2adb8f10365dfc2a3e849f05173fa4d83e"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2adb8f10365dfc2a3e849f05173fa4d83e">kI2C_TransferCompleteFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:83</div></div>
<div class="ttc" id="group__i2c_html_ga5ae9f5e6e854d14d33ba3029128bd6f0"><div class="ttname"><a href="group__i2c.html#ga5ae9f5e6e854d14d33ba3029128bd6f0">I2C_SlaveTransferAbort</a></div><div class="ttdeci">void I2C_SlaveTransferAbort(I2C_Type *base, i2c_slave_handle_t *handle)</div><div class="ttdoc">Abort slave transfer. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1241</div></div>
<div class="ttc" id="group__i2c_html_ga7d720842e68161d2d52d56d119f20665"><div class="ttname"><a href="group__i2c.html#ga7d720842e68161d2d52d56d119f20665">I2C_MasterTransferGetCount</a></div><div class="ttdeci">status_t I2C_MasterTransferGetCount(I2C_Type *base, i2c_master_handle_t *handle, size_t *count)</div><div class="ttdoc">Get master transfer status during a interrupt non-blocking transfer. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1016</div></div>
<div class="ttc" id="group__i2c_html_gaf46a8cc094fc18c6cadea8de71448723"><div class="ttname"><a href="group__i2c.html#gaf46a8cc094fc18c6cadea8de71448723">I2C_MasterStop</a></div><div class="ttdeci">status_t I2C_MasterStop(I2C_Type *base)</div><div class="ttdoc">Sends a STOP signal on the I2C bus. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:649</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a07e611eaff148acca64fae7f1f0e1577"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a07e611eaff148acca64fae7f1f0e1577">kI2C_StartDetectFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:89</div></div>
<div class="ttc" id="group__i2c_html_aedb9cfa838d8a677d9193d5c92298ea4"><div class="ttname"><a href="group__i2c.html#aedb9cfa838d8a677d9193d5c92298ea4">i2c_slave_config_t::enableGeneralCall</a></div><div class="ttdeci">bool enableGeneralCall</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:179</div></div>
<div class="ttc" id="group__i2c_html_gab49c827b45635206f06e5737606e4611"><div class="ttname"><a href="group__i2c.html#gab49c827b45635206f06e5737606e4611">i2c_direction_t</a></div><div class="ttdeci">i2c_direction_t</div><div class="ttdoc">Direction of master and slave transfers. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:108</div></div>
<div class="ttc" id="group__i2c_html_ab8b96ba3ced8b280ac1f366f6e76a9e7"><div class="ttname"><a href="group__i2c.html#ab8b96ba3ced8b280ac1f366f6e76a9e7">i2c_master_config_t::enableMaster</a></div><div class="ttdeci">bool enableMaster</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:164</div></div>
<div class="ttc" id="group__i2c_html_ga437271ffb955b77df0a5dee9ea80cc63"><div class="ttname"><a href="group__i2c.html#ga437271ffb955b77df0a5dee9ea80cc63">I2C_MasterClearStatusFlags</a></div><div class="ttdeci">static void I2C_MasterClearStatusFlags(I2C_Type *base, uint32_t statusMask)</div><div class="ttdoc">Clears the I2C status flag state. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:415</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2a39fab5ef04e74d00ef4c4574899ab589"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2a39fab5ef04e74d00ef4c4574899ab589">kI2C_ArbitrationLostFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:80</div></div>
<div class="ttc" id="group__i2c_html_gac2794e138d94d9b6a761c074ad0899cd"><div class="ttname"><a href="group__i2c.html#gac2794e138d94d9b6a761c074ad0899cd">I2C_SlaveGetStatusFlags</a></div><div class="ttdeci">static uint32_t I2C_SlaveGetStatusFlags(I2C_Type *base)</div><div class="ttdoc">Gets the I2C status flags. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:397</div></div>
<div class="ttc" id="group__i2c_html_ggac53e5c96a2eed1b5a95b7d84be48f4aca38cca3cd668e73f51b8e574835d419df"><div class="ttname"><a href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca38cca3cd668e73f51b8e574835d419df">kI2C_SlaveCompletionEvent</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:151</div></div>
<div class="ttc" id="group__i2c_html_ga577e094cc4d39b88ec5bbe49bc199c77"><div class="ttname"><a href="group__i2c.html#ga577e094cc4d39b88ec5bbe49bc199c77">I2C_EnableInterrupts</a></div><div class="ttdeci">void I2C_EnableInterrupts(I2C_Type *base, uint32_t mask)</div><div class="ttdoc">Enable I2C interrupt requests. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:495</div></div>
<div class="ttc" id="group__i2c_html_gae6e155a5aadb43d527418e2965e39123"><div class="ttname"><a href="group__i2c.html#gae6e155a5aadb43d527418e2965e39123">I2C_SlaveInit</a></div><div class="ttdeci">void I2C_SlaveInit(I2C_Type *base, const i2c_slave_config_t *slaveConfig)</div><div class="ttdoc">Initialize the I2C peripheral, call this API to ungate the i2c clock and initializes the I2C with sla...</div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1073</div></div>
<div class="ttc" id="group__i2c_html_ggac53e5c96a2eed1b5a95b7d84be48f4aca4c7de9b9d0c71a86ef6bd5cd6a39dad5"><div class="ttname"><a href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4aca4c7de9b9d0c71a86ef6bd5cd6a39dad5">kI2C_SlaveRepeatedStartEvent</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:149</div></div>
<div class="ttc" id="group__i2c_html_gga87ea07668194cfb46c7c368d2cb42433afb8aeea71b5b7475e3d3df86220db566"><div class="ttname"><a href="group__i2c.html#gga87ea07668194cfb46c7c368d2cb42433afb8aeea71b5b7475e3d3df86220db566">kI2C_TransferNoStopFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:127</div></div>
<div class="ttc" id="group__i2c_html_ggac21e18657981bd7861f2ac5ebc5f633baa2c312f87691c542c466ff747d21f70a"><div class="ttname"><a href="group__i2c.html#ggac21e18657981bd7861f2ac5ebc5f633baa2c312f87691c542c466ff747d21f70a">kI2C_RangeMatch</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:118</div></div>
<div class="ttc" id="group__i2c_html_ga1f1337bbe9d0b184d9dcee31f9ebade2"><div class="ttname"><a href="group__i2c.html#ga1f1337bbe9d0b184d9dcee31f9ebade2">_i2c_flags</a></div><div class="ttdeci">_i2c_flags</div><div class="ttdoc">I2C peripheral flags. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:74</div></div>
<div class="ttc" id="group__ksdk__common_html_gaaabdaf7ee58ca7269bd4bf24efcde092"><div class="ttname"><a href="group__ksdk__common.html#gaaabdaf7ee58ca7269bd4bf24efcde092">status_t</a></div><div class="ttdeci">int32_t status_t</div><div class="ttdoc">Type used for all status and error return values. </div><div class="ttdef"><b>Definition:</b> fsl_common.h:121</div></div>
<div class="ttc" id="group__i2c_html_structi2c__master__transfer__t"><div class="ttname"><a href="group__i2c.html#structi2c__master__transfer__t">i2c_master_transfer_t</a></div><div class="ttdoc">I2C master transfer structure. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:203</div></div>
<div class="ttc" id="group__i2c_html_ga2583e3d8ebf8d3de410d8b6263238c35"><div class="ttname"><a href="group__i2c.html#ga2583e3d8ebf8d3de410d8b6263238c35">i2c_slave_transfer_callback_t</a></div><div class="ttdeci">void(* i2c_slave_transfer_callback_t)(I2C_Type *base, i2c_slave_transfer_t *xfer, void *userData)</div><div class="ttdoc">I2C slave transfer callback typedef. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:236</div></div>
<div class="ttc" id="group__i2c_html_gadb50014db29dd75ea2001fb7bc837e77"><div class="ttname"><a href="group__i2c.html#gadb50014db29dd75ea2001fb7bc837e77">I2C_SlaveDeinit</a></div><div class="ttdeci">void I2C_SlaveDeinit(I2C_Type *base)</div><div class="ttdoc">De-initialize the I2C slave peripheral, call thi API will gate the i2c clock, so the I2C slave module...</div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1115</div></div>
<div class="ttc" id="group__i2c_html_a0ec674bca5cb7bb8a6c51a44a5fc4314"><div class="ttname"><a href="group__i2c.html#a0ec674bca5cb7bb8a6c51a44a5fc4314">i2c_master_config_t::glitchFilterWidth</a></div><div class="ttdeci">uint8_t glitchFilterWidth</div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:172</div></div>
<div class="ttc" id="group__i2c_html_gac9b90f575d92ff8ad3cc350a5c8ad1b9"><div class="ttname"><a href="group__i2c.html#gac9b90f575d92ff8ad3cc350a5c8ad1b9">I2C_SlaveTransferCreateHandle</a></div><div class="ttdeci">void I2C_SlaveTransferCreateHandle(I2C_Type *base, i2c_slave_handle_t *handle, i2c_slave_transfer_callback_t callback, void *userData)</div><div class="ttdoc">Init the I2C handle which is used in transcational functions. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1182</div></div>
<div class="ttc" id="group__i2c_html_ggac53e5c96a2eed1b5a95b7d84be48f4acacb1ae174dd6798a6fd79800a9e39a3c6"><div class="ttname"><a href="group__i2c.html#ggac53e5c96a2eed1b5a95b7d84be48f4acacb1ae174dd6798a6fd79800a9e39a3c6">kI2C_SlaveAddressMatchEvent</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:142</div></div>
<div class="ttc" id="group__i2c_html_ga280404c6b1ede542f2c1c20bd382869c"><div class="ttname"><a href="group__i2c.html#ga280404c6b1ede542f2c1c20bd382869c">I2C_SlaveWriteBlocking</a></div><div class="ttdeci">status_t I2C_SlaveWriteBlocking(I2C_Type *base, const uint8_t *txBuff, size_t txSize)</div><div class="ttdoc">Performs a polling send transaction on the I2C bus. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1149</div></div>
<div class="ttc" id="group__i2c_html_gad091cd1857d2bd8ce64583739b3a35d5"><div class="ttname"><a href="group__i2c.html#gad091cd1857d2bd8ce64583739b3a35d5">I2C_MasterTransferHandleIRQ</a></div><div class="ttdeci">void I2C_MasterTransferHandleIRQ(I2C_Type *base, void *i2cHandle)</div><div class="ttdoc">Master interrupt handler. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1030</div></div>
<div class="ttc" id="group__i2c_html_gga1f1337bbe9d0b184d9dcee31f9ebade2aac2c3a26d38c01fba1554eddc0c6b8b5"><div class="ttname"><a href="group__i2c.html#gga1f1337bbe9d0b184d9dcee31f9ebade2aac2c3a26d38c01fba1554eddc0c6b8b5">kI2C_RangeAddressMatchFlag</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:79</div></div>
<div class="ttc" id="group__i2c_html_ga7115f80e28b62bbbd3be1a2a918529ba"><div class="ttname"><a href="group__i2c.html#ga7115f80e28b62bbbd3be1a2a918529ba">I2C_SlaveGetDefaultConfig</a></div><div class="ttdeci">void I2C_SlaveGetDefaultConfig(i2c_slave_config_t *slaveConfig)</div><div class="ttdoc">Set the I2C slave configuration structure to default values. </div><div class="ttdef"><b>Definition:</b> fsl_i2c.c:1124</div></div>
<div class="ttc" id="group__i2c_html_gga7cc91c89125c25a88e463a9e8550b284a81ad7cc198436cabbe91ea55c5288747"><div class="ttname"><a href="group__i2c.html#gga7cc91c89125c25a88e463a9e8550b284a81ad7cc198436cabbe91ea55c5288747">kStatus_I2C_Timeout</a></div><div class="ttdef"><b>Definition:</b> fsl_i2c.h:59</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_c718a368270b13c54d94892d20736f45.html">drivers</a></li><li class="navelem"><a class="el" href="dir_44ba61c44ceb90a3b1f8c68867d5ba9e.html">i2c</a></li><li class="navelem"><b>fsl_i2c.h</b></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:48:23 for Kinetis Bootloader by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
